//
//  VIZWarnsCell.m
//  Young-Old
//
//  Created by 位立志 on 16/4/28.
//  Copyright © 2016年 位立志. All rights reserved.
//

#import "VIZWarnsCell.h"

@interface VIZWarnsCell()

@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UILabel *tipLabel;
@property (weak, nonatomic) IBOutlet UISwitch *openSwitch;


@end

@implementation VIZWarnsCell

- (void)awakeFromNib {
//    self.accessoryType

}

- (void)setWarn:(VIZWarn *)warn{
    _warn = warn;
    self.timeLabel.text = self.warn.time;
    self.tipLabel.text = self.warn.tip;
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

}

@end
